package cn.xuchunh.campusbbs.viewholder;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.TextView;

import com.facebook.drawee.view.SimpleDraweeView;

import cn.xuchunh.campusbbs.R;

/**
 * Created by XuChunH on 2015/9/14.
 */
public class TopicHeaderViewHolder extends RecyclerView.ViewHolder {

    public TextView title,replies,date,hits,username,userTitle,position;
    public SimpleDraweeView avatar;

    public TopicHeaderViewHolder(View itemView) {
        super(itemView);
        title = (TextView) itemView.findViewById(R.id.title);
        replies = (TextView) itemView.findViewById(R.id.replies);
        date = (TextView) itemView.findViewById(R.id.date);
        hits = (TextView) itemView.findViewById(R.id.hits);
        username = (TextView) itemView.findViewById(R.id.username);
        userTitle = (TextView) itemView.findViewById(R.id.usertitle);
        position = (TextView) itemView.findViewById(R.id.position);
        avatar = (SimpleDraweeView) itemView.findViewById(R.id.avatar);
    }
}
